#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<math.h>
int main()
{
    double a = 0.0;
    double x = 0.0;
    double y = 0.0;
    scanf("%lf%lf", &a, &x);
    y = sqrt(a * x) + log(a + x) + exp(x);
    printf("y = %.2lf\n", y);

    return 0;
}